#ifndef MYTHREAD_H
#define MYTHREAD_H
#pragma once
#include <QObject>
#include <QThread>
#include "mytcpsocket.h"
#include "myserver.h"
#include "opdb.h"
#include "mypdu.h"

class MyThread : public QThread
{
    Q_OBJECT
public:
    explicit MyThread(QObject *parent = nullptr);
    MyThread(MyTcpSocket*& sock);
    void run() override;
signals:

private:
    MyTcpSocket* m_sock;
};

#endif // MYTHREAD_H
